﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.EntityModel
{
    /// <summary>
	/// 支付记录表
	/// </summary>
	public class PaymentRecord
    {
        /// <summary>
        /// 支付记录id
        /// </summary>
        public long ID { set; get; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string Number { set; get; }
        /// <summary>
        /// 第三方支付单号
        /// </summary>
        public string Trade_No { set; get; }
        /// <summary>
        /// 支付类型（0支付宝订单支付，1支付宝充值现金，2.微信订单支付，3微信充值现金，4支付宝购买创客券，5微信购买创客券）
        /// </summary>
        public int PayType { set; get; }
        /// <summary>
        /// 商品id（可不填）
        /// </summary>
        public long ShopOrder_Id { set; get; }
        /// <summary>
        /// 介绍
        /// </summary>
        public string Detail { set; get; }
        /// <summary>
        /// 金额
        /// </summary>
        public string Amount { set; get; }
        /// <summary>
        /// 支付者id
        /// </summary>
        public string Buyer_Id { set; get; }
        /// <summary>
        /// 支付者邮箱
        /// </summary>
        public string Buyer_Email { set; get; }
        /// <summary>
        /// 支付状态（0未支付，1已支付，-1支付失败）
        /// </summary>
        public int Status { set; get; }
        /// <summary>
        /// 成功时间
        /// </summary>
        public string SuccessTime { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string PostTime { set; get; }
        /// <summary>
        /// 用户id
        /// </summary>
        public long User_Id { set; get; }
    }
}
